@import url('./cuntom.scss');

@font-face {
  font-family: 'HarmonyOS';
  src: url(../fonts/global/HarmonyOS.woff) format('truetype');
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

// 定义滚动条轨道
::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}

// 定义滑块
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer !important;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  font-family: 'HarmonyOS' !important;
}

html,
body,
#App {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to top, #243949 0%, #517fa4 100%);
}

ol,
ul,
li,
th,
td,
dd {
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
}

.w100 {
  width: 100% !important;
}

.h100 {
  height: 100% !important;
}

.h95 {
  height: 95% !important;
}

.h90 {
  height: 90% !important;
}

.flex,
.flex_row {
  display: flex;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

.flex_sb {
  display: flex;
  justify-content: space-between;
}
.flex_center {
  display: flex;
  justify-content: center;
}

.flex_start {
  display: flex;
  justify-content: flex-start;
}

.flex_end {
  display: flex;
  justify-content: flex-end;
}

.flex_item_center {
  display: flex;
  align-items: center;
}

.flex_1 {
  flex: 1;
}

.h50vh {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}

.h40vh {
  max-height: 40vh;
  overflow-y: auto;
  padding-right: 10px;
}

.h30vh {
  max-height: 30vh;
  overflow-y: auto;
  padding-right: 10px;
}

.x_auto {
  overflow-x: auto;
}